Skip to content

Cmake Ninja backend support#230

Open
SeungheonOh wants to merge 1 commit into
rougier:masterfrom
SeungheonOh:master
Open

Cmake Ninja backend support#230
SeungheonOh wants to merge 1 commit into
rougier:masterfrom
SeungheonOh:master

Conversation

@SeungheonOh

Copy link
Copy Markdown

$(Configuration)... to ${Configuration} for proper ninja backend support.

Currently ninja backend fails to build with following error message:
"ninja: error: build.ninja:1094: bad $-escape (literal $ must be written as $$)"

$(Configuration)... to ${Configuration} for proper ninja backend support.
Currently ninja backend fails to build with following error message:
	ninja: error: build.ninja:1094: bad $-escape (literal $ must be written as $$)
@rougier

rougier commented Mar 15, 2021

Copy link
Copy Markdown
Owner

It seem that it is still failing. Any idea?

@SeungheonOh

Copy link
Copy Markdown
Author

Before:
Screenshot from 2021-03-15 12-35-50
Now:
Screenshot from 2021-03-15 12-33-14
It fixed the problem for me.

@rougier

rougier commented Mar 19, 2021

Copy link
Copy Markdown
Owner

Report says:

C:\projects\freetype-gl\demos\texture.c(117): warning C4244: 'function' : conversion from 'int' to 'float', possible loss of data [C:\projects\freetype-gl\build\demos\texture.vcxproj]
LINK : warning LNK4098: defaultlib 'LIBCMT' conflicts with use of other libs; use /NODEFAULTLIB:library [C:\projects\freetype-gl\build\demos\texture.vcxproj]
  texture.vcxproj -> C:\projects\freetype-gl\build\demos\RelWithDebInfo\texture.exe

Any idea?

@SeungheonOh

SeungheonOh commented Mar 19, 2021

Copy link
Copy Markdown
Author

I think the error itself is

  '..\\makefont' is not recognized as an internal or external command,
  operable program or batch file.
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(170,5): error MSB6006: "cmd.exe" exited with code 9009. [C:\projects\freetype-gl\build\demos\generate-embedded-font.vcxproj]

which unfortunately I have no clue of, but "..\makefont" looks like it's a some sort of path error.

@rougier

rougier commented Mar 24, 2021

Copy link
Copy Markdown
Owner

makefont is built by the library and I imagine it is lacking a .exe for windows.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants